package 多线程.同步;

public class Example11 {
    public static void main(String[] args) {
        SaleThread st = new SaleThread();
        Thread t1 = new Thread(st,"线程A");
        Thread t2 = new Thread(st,"线程B");
        Thread t3 = new Thread(st,"线程C");
        Thread t4 = new Thread(st,"线程D");

        t1.start();
        t2.start();
        t3.start();
        t4.start();

    }
}
